package com.docmgmt.mvp.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * 添加用户组成员请求（USER-006）
 *
 * @author Dora
 */
@Data
@Schema(description = "添加用户组成员请求")
public class AddGroupMembersRequest {

    @NotEmpty(message = "成员ID列表不能为空")
    @Schema(description = "要添加的用户ID列表", example = "[2, 3, 4]", required = true)
    private List<Long> userIds;

    @Schema(description = "成员角色（默认member）", example = "member", allowableValues = {"admin", "member"})
    private String role = "member";
}
